<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>我的站内信  - ${web.name}${web.additionalTitle!}</title>
<link href="${root}/u/css/main.css" type="text/css" rel="stylesheet" />
<link href="${root}/u/css/memeber.css" type="text/css" rel="stylesheet" />
<link href="${root}/u/css/collect.css" type="text/css" rel="stylesheet" />
<script src="${base}/r/cms/www/default/jquery.js" type="text/javascript"></script>
<script src="${root}/u/js/common.js" type="text/javascript"></script>
<link href="${base}/r/cms/front.css" rel="stylesheet" type="text/css"/>
<script src="${base}/r/cms/front.js" type="text/javascript"></script>
<script src="${base}/r/cms/www/red/js/tab.js" type="text/javascript"></script>
<script type="text/javascript">
function g(o){
	return document.getElementById(o);
}
function HoverLi(m,n,counter){
	window.frames["framex"+n].location.reload();
	for(var i=1;i<=counter;i++){
		g('tb_'+m+i).className='normaltab';
		g('tbc_'+m+i).className='undis';
	}
	g('tbc_'+m+n).className='dis';
	g('tb_'+m+n).className='cur';
}
$(function() {
	countUnreadMsg();
});
function countUnreadMsg(){
	 $.post("message_countUnreadMsg.jspx", {
		}, function(data) {
			if(data.result){
				 $("#countDiv").html(""+data.count+"");
			}else{
				alert("请先登录");
			}
		}, "json");
	 setTimeout( "countUnreadMsg() ",1000*60*10);    
}
setTimeout( "countUnreadMsg() ",1000*60*10); 
</script>
<style type="text/css">
.mc_content{width:700px;
		min-height:400px;  /**ie7版本下支持*/
		max-height:500px;  /**最大的高度*/
		—height:300px;   /**ie6下支持*/
		margin-left:auto;
		margin-right:auto;
		padding:3px;
		outline:0;   /**鼠标点进去，外边框去掉*/
		border:1px solid #ccc;
		font-size:12px;
		word-wrap:break-word;   /**当输入文字，单词超过父容器宽度，会自动转下一行，最后一个单词，不会拆分*/
		overflow-x:hidden;   /**水平滚动条隐藏*/
		overflow-y:auto;   /**垂直滚动条，当超出一定高度时出现*/};
.li{
	float:left;
	border:1px solid #ccc;
}
.ul{
	float:left;
}		
</style>
</head>
<body>
[#include "../include/站内信息页头顶栏.html"/]
<div class="w1168">
	[#include "../member/会员中心_导航.html"/]
	<div class="user_right">
		<div class="user_title_r">
			<div class="user_title_l">站内信息</div>
            <a href="${base}/member/message_mng.jspx?box=0" class="fr">您有 
 				<strong style="color:#fe6c00;"><span id="countDiv"></span></strong> 条未读信息
 			</a>
        </div>
        <div class="clear20"></div>
        <div style="margin-left:10px;">
            <div class="odrTab" style="border-bottom:1px solid #ebebeb; width:912px;">
                <ul class="ul_select odrTabUl">
                    <li id="tb_11" class="first cur" onclick="HoverLi(1,1,2)">收件箱</li>
                    <li id="tb_12" onclick="HoverLi(1,2,2)">垃圾箱</li>
                </ul>
            </div> 
            <div id="tbc_11" class="dis">
                <iframe name="framex1" id="framex" frameborder="0" src="${base}/member/message_list.jspx?box=0" style="height:200px; width:900px; border:1px solid #ebebeb; border-top:0; padding:5px;"></iframe>
            </div>
            <div id="tbc_12" class="undis">
                <iframe id="framex" name="framex2" frameborder="0" src="${base}/member/message_list.jspx?box=3" style="height:200px; width:900px; border:1px solid #ebebeb; border-top:0; padding:5px;"></iframe>
            </div>
    	</div>
	</div>
	<div class="clear20"></div>
</div>
[#include "../include/footer_information_bar.html"/]
</body>
</html>